Package com.cisco.pt.ipc.sim.impl
Class WeightedFairQueueImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.QueueProcessImpl
com.cisco.pt.ipc.sim.impl.WeightedFairQueueImpl
- All Implemented Interfaces:
IPCObject,QueueProcess,WeightedFairQueue
Information provided by the PKI file:
\class CWeightedFairQueue
\brief This file holds weighted fair queue class declaration.
\example IpcBase::cast<WeightedFairQueue>(network().getDevice("Router0").getPortByName("FastEthernet0/1").getQosQueue());
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionWeightedFairQueueImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetQueueAt(int i) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.QueueProcessImpl
getQueueTypeMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.QueueProcess
getQueueType
-
Constructor Details
-
WeightedFairQueueImpl
public WeightedFairQueueImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getQueueCount
public int getQueueCount()Information provided by the PKI file:
\brief Get Queue Count \return int, the number of flows in queue- Specified by:
getQueueCountin interfaceWeightedFairQueue- Returns:
- int Returns a int
-
getQueueAt
Information provided by the PKI file:
\brief Get Queue At an index \return Queue, the queue specified at index i in the queue list- Specified by:
getQueueAtin interfaceWeightedFairQueue- Parameters:
i- Takes in a parameter of i- Returns:
- Queue Returns a Queue
-